package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data//get、set方法
@AllArgsConstructor//全参构造
@NoArgsConstructor//空参构造
@ToString//toString
public class TopUp {

    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private String name;
    private String address;
    private Integer money;
    private Integer category;

}
